package com.dtx.day1.ceshi;

import com.dtx.day1.entity.Goods;
import com.dtx.day1.factory.BeanFactory;
import com.dtx.day1.service.GoodsService;

public class CeShi {

    public static void main(String[] args) {
        GoodsService goodsService = BeanFactory.getBean("goodsService");
        Goods goods = new Goods();
        System.out.println(goodsService.getGoods(goods));
    }
}
